Why not, man
This commit is contained in:
parent
f03d99c2a7
commit
4973957530
2 changed files with 3 additions and 4 deletions
|
@ -10,10 +10,9 @@ LDFLAGS =
|
||||||
HEADERS = kiss.h ax25.h ax25/if.h ax25/macros.h ax25/proto.h \
|
HEADERS = kiss.h ax25.h ax25/if.h ax25/macros.h ax25/proto.h \
|
||||||
ax25/address.h ax25/frame.h list.h hash.h dict.h
|
ax25/address.h ax25/frame.h list.h hash.h dict.h
|
||||||
|
|
||||||
OBJS = kiss.o ax25.o if.o address.o frame.o list.o hash.o dict.o \
|
OBJS = kiss.o ax25.o if.o address.o frame.o list.o hash.o dict.o
|
||||||
test.o
|
|
||||||
|
|
||||||
EXAMPLES = test decode
|
EXAMPLES = iflist decode
|
||||||
|
|
||||||
AR = $(CROSS)ar
|
AR = $(CROSS)ar
|
||||||
RANLIB = $(CROSS)ranlib
|
RANLIB = $(CROSS)ranlib
|
||||||
|
@ -26,7 +25,7 @@ INSTALL = /usr/bin/install
|
||||||
all: $(EXAMPLES)
|
all: $(EXAMPLES)
|
||||||
|
|
||||||
$(EXAMPLES): %: %.c $(OBJS)
|
$(EXAMPLES): %: %.c $(OBJS)
|
||||||
$(CC) $(LDFLAGS) $(OBJS) -o $@
|
$(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) $< -o $@
|
||||||
|
|
||||||
$(OBJS): %.o: %.c $(HEADERS_BUILD)
|
$(OBJS): %.o: %.c $(HEADERS_BUILD)
|
||||||
$(CC) $(CFLAGS) -c $<
|
$(CC) $(CFLAGS) -c $<
|
||||||
|
|
Loading…
Add table
Reference in a new issue