aboutsummaryrefslogtreecommitdiff
path: root/i18n/fr_FR/projects/bucts/sources/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'i18n/fr_FR/projects/bucts/sources/Makefile')
-rw-r--r--i18n/fr_FR/projects/bucts/sources/Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/i18n/fr_FR/projects/bucts/sources/Makefile b/i18n/fr_FR/projects/bucts/sources/Makefile
new file mode 100644
index 00000000..b5f43d5f
--- /dev/null
+++ b/i18n/fr_FR/projects/bucts/sources/Makefile
@@ -0,0 +1,20 @@
+CC:=gcc
+OBJ:=bucts.o
+VERSION:=withoutgit
+
+ifeq ($(shell uname), FreeBSD)
+ CFLAGS = -I/usr/local/include
+ LDFLAGS = -L/usr/local/lib
+endif
+
+all: bucts
+
+bucts: $(OBJ)
+ $(CC) -o $@ $(OBJ) $(LDFLAGS) -lpci
+
+%.o: %.c
+ $(CC) $(CFLAGS) -DVERSION='"$(VERSION)"' -c $<
+
+.PHONY: clean
+clean:
+ rm -f bucts $(OBJ)