-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
32 lines (26 loc) · 719 Bytes
/
Makefile
File metadata and controls
32 lines (26 loc) · 719 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
30
31
32
##
## PARALLEL.C - MAKEFILE FOR TURBO C 3.0
##
# TCC 3.0 Compiler flags
# ----------------------
# -ml - large memory model -f - floating point emulation
# -K - assume char unsigned -w - enable warnings
# -1 - generate 186/286 inst. -G - generate for /speed/
# -j8 - stop after 8 errors
#
CC = tcc
CFLAGS = -ml -f -w -1 -G -j8 -K
LFLAGS =
# Default target
default: parallel.exe
###
### parallel program - Interactive manipulation of parallel port
###
parallel: parallel.exe
parallel.obj: parallel.c
$(CC) $(CFLAGS) -c parallel.c
parallel.exe: parallel.obj
$(CC) $(CFLAGS) -eparallel.exe parallel.obj
clean:
-del *.exe > nul
-del *.obj > nul