Add Makefile
This commit is contained in:
12
src/Makefile
Normal file
12
src/Makefile
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
CC=g++
|
||||||
|
|
||||||
|
all: simpleFile
|
||||||
|
|
||||||
|
simpleFile: simpleFile.o
|
||||||
|
$(CC) -o $@ $^
|
||||||
|
|
||||||
|
%.o: %.cpp
|
||||||
|
$(CC) -c $< -o $@
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm *.o
|
||||||
Reference in New Issue
Block a user