summaryrefslogtreecommitdiff
path: root/os2w3/makefile
blob: 258d68868403919b0e085cc87a5e022ef4ea1c2e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
CPP = g++
LD = g++

LFLAGS += -lstdc++
CFLAGS += -g

all: main

main: main.o
	$(LD) $^ $(LFLAGS) -o $@

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

clean:
	$(RM) main.o main