File: Makefile

package info (click to toggle)
simulpic 1%3A2005-1-28-10
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye, buster, forky, sid, trixie
  • size: 368 kB
  • sloc: cpp: 5,014; makefile: 82
file content (27 lines) | stat: -rw-r--r-- 607 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
IECSRC=iec.cc

INCLUDES= pictype.h tfile.h tiofile.h tparser.h tpic.h \
    tprogmem.h tregfile.h tstack.h tstring.h simulpic.h

SRCS=simulpic.cc tfile.cc tiofile.cc tparser.cc \
    tpic.cc tprogmem.cc tregfile.cc tstack.cc

ALLSRC=$(IECSRC) $(SRCS) $(INCLUDES) Makefile Copyright README simulpic.doc simulpic.1

CXXFLAGS= -g -fPIC -O2 -Wall -fno-exceptions \
	-I. -I/usr/include/g++-3 -D_FILE_OFFSET_BITS=64


CXX= g++

OBJS= $(SRCS:.cc=.o)

simulpic: $(OBJS)
	$(CXX) $(LDFLAGS) -g -o simulpic $(OBJS)

clean:
	- rm -f $(OBJS) a.out *.core simulpic

tarball: $(ALLSRC)
	- tar cvzf simulpic.tgz $(ALLSRC)