mirror of
https://github.com/GnoConsortium/gno.git
synced 2025-08-13 08:25:00 +00:00
cleaned up makefile a bit
This commit is contained in:
@@ -6,14 +6,22 @@
|
|||||||
CFLAGS += -v -I /usr/include
|
CFLAGS += -v -I /usr/include
|
||||||
LDFLAGS += -v
|
LDFLAGS += -v
|
||||||
|
|
||||||
|
GENDATA = file2.bin1 file2.bin2 file2.bin3 \
|
||||||
|
file3.alnum file3.alpha file3.blank file3.cntrl file3.digit \
|
||||||
|
file3.full file3.graph file3.lower file3.print file3.punct \
|
||||||
|
file3.space file3.upper file3.xdigit
|
||||||
|
|
||||||
# Default target, "all," generates the files
|
# Default target, "all," generates the files
|
||||||
all: file2.bin1 genbin
|
all: file2.bin1 genbin
|
||||||
|
|
||||||
# Files depend upon program
|
gendata: $(GENDATA)
|
||||||
file2.bin1: genbin
|
|
||||||
|
$(GENDATA) .UPDATEALL: genbin
|
||||||
./genbin
|
./genbin
|
||||||
|
|
||||||
# Remove intermediate files
|
# Remove intermediate files
|
||||||
clean:
|
clean:
|
||||||
$(RM) -f *.o
|
-$(RM) -f genbin.o genbin.root
|
||||||
$(RM) -f *.root
|
|
||||||
|
clobber: clean
|
||||||
|
-$(RM) -f test.list $(GENDATA) genbin
|
||||||
|
Reference in New Issue
Block a user