[go: up one dir, main page]

Menu

[8a2cb6]: / Makefile  Maximize  Restore  History

Download this file

30 lines (20 with data), 572 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Makefile
CC = gcc
STRIP = strip
OBJS = main.o cabrillo.o report.o contests/wakeup.o contests/general.o
OUT = contesta
all: main cabrillo report wakeup general
$(CC) $(OBJS) -o $(OUT) -lm
$(STRIP) $(OUT)
main: main.c
$(CC) -c main.c -o main.o
cabrillo: cabrillo.c
$(CC) -c cabrillo.c -o cabrillo.o
report: report.c
$(CC) -c report.c -o report.o
wakeup: contests/wakeup.c
$(CC) -I . -I ../. -c contests/wakeup.c -o contests/wakeup.o
general: contests/general.c
$(CC) -I . -I ../. -c contests/general.c -o contests/general.o
clean:
-rm -f $(OBJS) $(OUT)