File: Makefile

package info (click to toggle)
ygl 4.2e-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 772 kB
  • sloc: ansic: 8,724; makefile: 89; fortran: 55; sed: 20; sh: 19
file content (24 lines) | stat: -rw-r--r-- 385 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24

.SUFFIXES: .gl

TARGETS	= ycpu yup xmap yglmap

all: $(TARGETS)

.c.gl:
	$(CC) $(CFLAGS) -o $@ $< -lgl

.c:
	$(CC) $(CFLAGS) -o $@ $< -lYgl -lXext -lX11

glmap:	xmap.c
	$(CC)          $(CFLAGS) -o $@ $? -lgl

yglmap:	xmap.c
	$(CC)          $(CFLAGS) -o $@ $? -lYgl -lXext -lX11

xmap:	xmap.c
	$(CC) -DXCOLOR $(CFLAGS) -o $@ $? -lYgl -lXext -lX11

clean:
	/bin/rm -f *.o *~ $(TARGETS)