File: makefile.rxw

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 (30 lines) | stat: -rw-r--r-- 515 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
# $Id: makefile.rxw,v 1.17 2002/11/12 13:47:21 stas_degteff Exp $
# Makefile for building a Windows 95 / NT SMAPI library
# with RSXNT and EMX GCC running on Win32 or OS/2.
# No support for the Husky build environment

CC=     gcc
CFLAGS= -w -Zwin32
CDEFS=  -D__NT__ -DWINNT -D__RSXNT__
COPT=
LIB=    ar
OBJ=	.o

TARGET= smapirxw.a

include makefile.inc


# Thunderbirds are go!

.c.o:
	$(CC) $(CFLAGS) $(CDEFS) $(COPT) -c $<
	$(LIB) r $(TARGET) $@

$(TARGET): $(OBJS)

clean:
	-DEL *.o

distclean:
	-DEL $(TARGET)