status mvp
This commit is contained in:
22
status/Makefile
Normal file
22
status/Makefile
Normal file
@@ -0,0 +1,22 @@
|
||||
CFLAGS += -g
|
||||
|
||||
run: status
|
||||
./status
|
||||
|
||||
clean:
|
||||
rm -f status *.o
|
||||
|
||||
status: status.c order.c io.o keyval.o
|
||||
$(CC) $(CFLAGS) -o $@ $@.c io.o keyval.o
|
||||
|
||||
order.c: order.def.c
|
||||
- cp -v order.def.c $@
|
||||
|
||||
io.o: io.c io.h
|
||||
$(CC) $(CFLAGS) -c -o $@ io.c
|
||||
|
||||
keyval.o: keyval.c keyval.h settings.c
|
||||
$(CC) $(CFLAGS) -c -o $@ keyval.c
|
||||
|
||||
settings.c: settings.def.c
|
||||
- cp -v settings.def.c $@
|
||||
Reference in New Issue
Block a user