You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
313 B
19 lines
313 B
13 years ago
|
CC=g++
|
||
|
CFLAGS=-c -g -Wall
|
||
|
CCFLAGS=-g -Wall
|
||
|
begin : main.o begin.o args.o
|
||
|
$(CC) -o begin $(CCFLAGS) main.o begin.o args.o
|
||
|
|
||
|
main.o: main.cxx begin.o
|
||
|
$(CC) $(CFLAGS) main.cxx
|
||
|
|
||
|
begin.o: begin.cxx begin.hpp
|
||
|
$(CC) $(CFLAGS) begin.cxx
|
||
|
|
||
|
args.o: args.cxx args.hpp
|
||
|
$(CC) $(CFLAGS) args.cxx
|
||
|
|
||
|
|
||
|
clean:
|
||
|
rm *.o begin
|