File: MAKEFILE.TCC

package info (click to toggle)
flip 1.20-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, sid
  • size: 196 kB
  • sloc: ansic: 1,186; cpp: 172; makefile: 124; sh: 61
file content (25 lines) | stat: -rw-r--r-- 630 bytes parent folder | download | duplicates (9)
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
# ::[[ @(#) makefile.tcc 1.1 89/07/02 00:19:54 ]]::
# Makefile for flip for MS-DOS and Turbo C 2.0.  The supplied turboc.cfg
# configuration file must be in the current directory;  edit it to make
# sure the include directories are correct.

CC = tcc
CFLAGS = -c -DTURBOC -DLINT -DNDEBUG
CFMORE =
LD = tcc
LDFLAGS = -eFLIP
LDMORE =

OBJS = flip.obj getopt.obj turboc.obj

flip.exe: $(OBJS)
	$(LD) $(LDFLAGS) $(LDMORE) $(OBJS)

flip.obj: flip.c flip.h
	$(CC) $(CFLAGS) $(CFMORE) $*.c

getopt.obj: getopt.c flip.h
	$(CC) $(CFLAGS) $(CFMORE) $*.c

turboc.obj: turboc.c flip.h
	$(CC) $(CFLAGS) $(CFMORE) $*.c