Makefile 290 Bytes
Newer Older
/jdi/'s avatar
/jdi/ committed
1
CC = g++
/jdi/'s avatar
/jdi/ committed
2
CFLAGS  = -Wall -std=c++14
/jdi/'s avatar
/jdi/ committed
3
4
5
6
TARGET = smrtlink

all: $(TARGET)

/jdi/'s avatar
/jdi/ committed
7
$(TARGET): Types.o Program.o 
/jdi/'s avatar
/jdi/ committed
8
9
	$(CC) $(CFLAGS) -o $(TARGET) *.o

/jdi/'s avatar
/jdi/ committed
10
Types.o: src/Types/*.cpp src/Types/*.h
/jdi/'s avatar
/jdi/ committed
11
	$(CC) $(CFLAGS) -c src/Types/*.cpp
/jdi/'s avatar
/jdi/ committed
12
	
/jdi/'s avatar
/jdi/ committed
13
14
15
16
Program.o: src/*.cpp src/*.h
	$(CC) $(CFLAGS) -c src/*.cpp


/jdi/'s avatar
/jdi/ committed
17
clean:
/jdi/'s avatar
/jdi/ committed
18
	rm *.o
/jdi/'s avatar
/jdi/ committed
19