2019-06-17 15:21:05 -04:00
|
|
|
TARGETS = cfspack cfsunpack
|
|
|
|
|
2019-12-31 13:57:52 -05:00
|
|
|
CFSPACK_OBJS = cfspack.o libcfs.o
|
|
|
|
|
2019-06-17 15:21:05 -04:00
|
|
|
.PHONY: all
|
|
|
|
all: $(TARGETS)
|
2019-05-12 11:20:31 -04:00
|
|
|
|
2019-12-31 13:57:52 -05:00
|
|
|
cfspack: $(CFSPACK_OBJS)
|
|
|
|
$(CC) $(LDFLAGS) -o $@ $(CFSPACK_OBJS)
|
2019-12-09 09:36:38 -05:00
|
|
|
|
2019-06-17 15:21:05 -04:00
|
|
|
cfsunpack: cfsunpack.c
|
2019-12-09 09:36:38 -05:00
|
|
|
$(CC) $(CFLAGS) -o $@ cfsunpack.c
|
|
|
|
|
|
|
|
.PHONY: clean
|
|
|
|
clean:
|
|
|
|
rm -f $(TARGETS)
|