File: makefile.qcd

package info (click to toggle)
smapi 2.4.0%2Brc2-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, lenny, sarge
  • size: 1,016 kB
  • ctags: 1,831
  • sloc: ansic: 11,304; pascal: 394; makefile: 137; asm: 125
file content (40 lines) | stat: -rw-r--r-- 617 bytes parent folder | download
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
# $Id: makefile.qcd,v 1.18 2002/11/12 13:47:21 stas_degteff Exp $
# Makefile for building SMAPI with Quick C or MS C for DOS
# No support for the Husky build environment

# Use this for Quick C:
CC=	qcl
# Use this for MS C
CC=cl

CFLAGS=	-nologo -W4 -AL
CDEFS=	-DMSDOS
COPT=	-Ox
LIB=	lib
# you may also use tasm
ASM=	masm
OBJ=	.obj

TARGET=	smapiqcd.lib

include makefile.inc


# Thunderbirds are go!

.c.obj:
	$(CC) $(CFLAGS) $(CDEFS) $(COPT) -c $<
	$(LIB) /nologo $(TARGET) -+$@,,

.asm.obj:
	$(ASM) -ml $<
	$(LIB) /nologo $(TARGET) -+$@,,

$(TARGET): $(OBJS)

clean:
	-DEL *.obj

distclean: clean
	-DEL $(TARGET)