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

all: $(TARGET)

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

Types.o: src/Types/*.cpp src/Types*.h
	$(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