minor improvements

This commit is contained in:
/jdi/ 2015-10-06 21:14:01 +02:00
parent 30ebdde28e
commit e077b4ca8a
14 changed files with 172 additions and 220 deletions

View file

@ -1,12 +1,19 @@
CC = g++
CFLAGS = -g -Wall -std=c++11
CFLAGS = -Wall -std=c++11
TARGET = smrtlink
all: $(TARGET)
$(TARGET): src/*.cpp
$(CC) $(CFLAGS) -o $(TARGET) src/*.cpp src/*.h
clean:
rm src/$(TARGET).g
$(TARGET): Types.o Program.o
$(CC) $(CFLAGS) -o $(TARGET) *.o
Types.o: src/Types/*.cpp src/Types*.h
$(CC) $(CFLAGS) -c src/Types/*.cpp
Program.o: src/*.cpp src/*.h
$(CC) $(CFLAGS) -c src/*.cpp
clean:
rm *.o