Blame view

examples07/02-txtwin/makefile 277 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
all: winsys

winsys: winsys.o screen.o
	g++ -g -Wall -pedantic $^ -o $@ -lncurses

winsys.o: winsys.cpp screen.h cpoint.h
	g++ -g -c -Wall -pedantic $< -o $@

screen.o: screen.cpp screen.h
	g++ -g -c -Wall -pedantic $< -o $@

.PHONY: clean

clean:
	-rm winsys winsys.o screen.o