diff options
-rw-r--r-- | projects/bucts/sources/Makefile | 2 | ||||
-rw-r--r-- | projects/bucts/sources/bucts.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/projects/bucts/sources/Makefile b/projects/bucts/sources/Makefile index b5f43d5f..2b165f3e 100644 --- a/projects/bucts/sources/Makefile +++ b/projects/bucts/sources/Makefile @@ -10,7 +10,7 @@ endif all: bucts bucts: $(OBJ) - $(CC) -o $@ $(OBJ) $(LDFLAGS) -lpci + $(CC) -o $@ $(OBJ) $(LDFLAGS) -lpci -lz -static %.o: %.c $(CC) $(CFLAGS) -DVERSION='"$(VERSION)"' -c $< diff --git a/projects/bucts/sources/bucts.c b/projects/bucts/sources/bucts.c index 16e82c7a..9e3c1708 100644 --- a/projects/bucts/sources/bucts.c +++ b/projects/bucts/sources/bucts.c @@ -1,4 +1,4 @@ -/* compile: gcc -s -o bucts bucts.c -lpci or: make +/* compile: gcc -s -o bucts bucts.c -lpci -lz -static or: make * run as root: ./bucts [0|1] */ /* |