mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-21 00:08:06 +11:00
4cde58fd83
Use it in shell instead of using popen()
17 lines
257 B
Makefile
17 lines
257 B
Makefile
TARGETS = cfspack cfsunpack
|
|
|
|
CFSPACK_OBJS = cfspack.o libcfs.o
|
|
|
|
.PHONY: all
|
|
all: $(TARGETS)
|
|
|
|
cfspack: $(CFSPACK_OBJS)
|
|
$(CC) $(LDFLAGS) -o $@ $(CFSPACK_OBJS)
|
|
|
|
cfsunpack: cfsunpack.c
|
|
$(CC) $(CFLAGS) -o $@ cfsunpack.c
|
|
|
|
.PHONY: clean
|
|
clean:
|
|
rm -f $(TARGETS)
|