File: Makefile

package info (click to toggle)
xgdipc 1.2-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 248 kB
  • ctags: 128
  • sloc: ansic: 801; sh: 175; makefile: 118
file content (31 lines) | stat: -rw-r--r-- 787 bytes parent folder | download | duplicates (3)
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
##################################################
#  Makefile for libmextreme                      #
#                                                #
#     libextreme are handy dandy functions       #
#     Use and modify as you like but please      #
#     just email me with your changes            #
#                                                #
#     mike@innercite.com                         #
#                                                #
##################################################

PACKAGE = libextreme.a
CC = gcc
AR = ar
CFLAGS = -g -O2

OBJS = strparse.o esock_new.o esock_read.o esock_write.o
HEADERS = extreme.h


%.o:%.c $(HEADERS)
	$(CC) $(CFLAGS) -c $<


$(PACKAGE):$(OBJS)
	$(AR) cru $@ $(OBJS)
	ranlib $(PACKAGE)

clean:
	rm -f *.o core $(PACKAGE)