File: Makefile.sample

package info (click to toggle)
dxsamples 4.4.0-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 26,340 kB
  • sloc: ansic: 10,079; sh: 8,445; java: 1,772; makefile: 1,102
file content (37 lines) | stat: -rw-r--r-- 1,058 bytes parent folder | download | duplicates (5)
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
#----------------------------------------------------------------------#
#	Copyright (c) 1995 International Business Machine Corporation. #
# 								       #
# THIS SOFTWARE IS PROVIDED 'AS-IS' AND WITHOUT WARRANTY OF ANY KIND,  #
# EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY     #
# WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.     #
#----------------------------------------------------------------------#


# This is a makefile for the ibm6000 architecture.

BASE=/usr/lpp/dx
CFLAGS=-O -D$(ARCH) -I . -I$(BASE)/include
LITELIBS=-L$(BASE)/lib_$(ARCH) -lDXlite -lm

OBJECTS=dxf.o entity.o common.o snag_funcs.o \
	output_funcs.o dx.o header.o ignored.o \
	tree.o colors.o table.o read.o

dxf2dx: $(OBJECTS) *.h Makefile
	cc -o dxf2dx $(OBJECTS) $(LITELIBS) 

ship: dxf2dx
	cp *.[ch] ship
	cp Makefile ship
	cp README.dxf2dx ship
	cp MANIFEST ship
	cp dxf2dx ship
	cp objects/entrpris.dxf ship
	cp entrpris.dx ship
	cp import_dxf.* ship
	cd ship; tar -cvf dxf2dx.tar *; compress dxf2dx.tar

co:
	co RCS/*.[ch],v