diff options
Diffstat (limited to 'ifenslave/Makefile')
-rw-r--r-- | ifenslave/Makefile | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/ifenslave/Makefile b/ifenslave/Makefile new file mode 100644 index 0000000..3a7ec80 --- /dev/null +++ b/ifenslave/Makefile @@ -0,0 +1,16 @@ +OBJS=ifenslave +include ../../include/rules.make +CC=gcc +CFLAGS+=-Wstrict-prototypes -I/usr/src/linux/include -momit-leaf-frame-pointer + +all: $(OBJS) + +ifenslave: ifenslave.o + $(CC) $(LDFLAGS) $(CFLAGS) -o $@ $< + strip -R .comment -R .note $@ + objdump -h $@ | grep -q '\.data[ ]*00000000' && strip -R .data $@ || true + # sstrip $@ + +%.o: %.c + $(CC) $(CFLAGS) -c -o $@ $< + |