source: liacs/ai/sudoku/Makefile@ 235

Last change on this file since 235 was 2, checked in by Rick van der Zwet, 15 years ago

Initial import of data of old repository ('data') worth keeping (e.g. tracking
means of URL access statistics)

File size: 509 bytes
RevLine 
[2]1#program: shell example
2#file Makefile
3#Rick van der Zwet 0433373
4#Operation Systems Ex 2, Part B
5
6
7ifdef DEBUG
8CXXFLAGS = -Wall -g -DDEBUG=$(DEBUG)
9endif
10
11EXECFILE = sudoku
12OBJECTS = $(EXECFILE).o
13
14all: $(OBJECTS)
15 $(CXX) $(CXXFLAGS) $(OBJECTS) -o $(EXECFILE)
16
17build:
18 $(MAKE) all
19 test -x $(EXECFILE) && ./$(EXECFILE) -f puzzel
20
21clean:
22 rm -f $(OBJECTS) *.core $(EXECFILE)
23
24debug: $(OBJECTS)
25 $(CXX) $(CXXFLAGS) -DDEBUG $(OBJECTS) -o $(EXECFILE)
26
27help: README
28 cat README
29
30.cpp.o:
31 $(CXX) $(CXXFLAGS) -c $<
Note: See TracBrowser for help on using the repository browser.