initial upload
This commit is contained in:
15
archive/xyz2shc/makefile
Normal file
15
archive/xyz2shc/makefile
Normal file
@@ -0,0 +1,15 @@
|
||||
CC = g++-8
|
||||
PROM = /usr/local/sbin/xyz2shc
|
||||
CFLAGS = -I.
|
||||
DEPS = $(shell find ./src -name "*.h")
|
||||
SRC = $(shell find ./src -name "*.cpp")
|
||||
OBJ = $(SRC:%.cpp=%.o)
|
||||
|
||||
$(PROM): $(OBJ)
|
||||
$(CC) -o $(PROM) $(OBJ) $(CFLAGS) -O2
|
||||
|
||||
%.o:%.cpp $(DEPS)
|
||||
$(CC) -c $< -o $@ $(CFLAGS) -O2
|
||||
|
||||
clean:
|
||||
rm -rf $(OBJ)
|
Reference in New Issue
Block a user