File: make.hd

package info (click to toggle)
tf 1%3A4.0s1-22
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,132 kB
  • sloc: ansic: 15,621; sh: 44; makefile: 38
file content (42 lines) | stat: -rw-r--r-- 690 bytes parent folder | download | duplicates (17)
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
33
34
35
36
37
38
39
40
41
42
#### Makefile-Head for gnumake (tested with os/2 gnumake v.3.73)

UNAME     = OS/2
CC        = gcc
FLAGS     = -Wall -Zmt
ifdef DEBUG
  EXE       = tfd.exe
else
  EXE       = tf.exe
endif
MAKE      = make

###########################################################################

ifdef VIDEO
  ifeq ($(VIDEO),ANSI)
     ADDFLAG = -DEMXANSI -Zomf
           O = obj
  else
     ADDFLAG =
           O = o
  endif
else
  ADDFLAG = -DEMXANSI -Zomf
        O = obj
endif

ifdef DEBUG
  DFLAGS = -g
else
  DFLAGS = -O
endif

LIBS       = -lbsd -lsocket -ltermcap $(ADDLIBS)
CFLAGS     = $(FLAGS) $(ADDFLAG) $(DFLAGS) $(PFLAGS)
BUILDERS   = Makefile

#### end of Makefile-head for gnumake