summaryrefslogtreecommitdiff
path: root/AmpelJonas/Makefile
blob: ab2707a293d9b5f5020dbe4d13364075bf7b0bb0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
CC      = /usr/bin/g++
CFLAGS  = -Wall -g
LDFLAGS = -lm -lcurses
OUTPUT = Engine

OBJ = main.o cObject.o cObjectHandler.o cRender.o cInput.o

prog: $(OBJ)
	$(CC) $(CFLAGS) -o $(OUTPUT) $(OBJ) $(LDFLAGS)

%.o: %.cpp
	$(CC) $(CFLAGS) -c $<

.PHONY: clean

clean:
	rm -f $(OUTPUT) *.o