home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AmigActive 13
/
AACD13.ISO
/
AACD
/
Graphics
/
PPT
/
pluginsrc
/
sample_effect
/
Makefile
< prev
next >
Wrap
Makefile
|
1999-01-13
|
1KB
|
55 lines
#
# This is a generic effect makefile for GCC and GNU make.
# It also assumes that you have binutils installed.
#
# $Id: Makefile,v 1.2 1999/01/13 23:17:00 jj Exp jj $
#
NAME = sample_effect
# Source files
SRCS=$(NAME).c
OBJS := $(patsubst %.c,%.o,$(wildcard *.c))
# Other stuff. Nothing of major importance.
# The MAINDIR directive tells where your PPT main directory
# is, so you should set it up before you try to install.
MAINDIR=/work/source/c/ppt
INSTDIR=modules
INCDIR=$(MAINDIR)/include
# Which startup code should we use?
# Be sure that you use the correct one...
LIBINIT = /ade/lib/libnix/libinitr.o
EXE=$(NAME).effect
EXE020=$(NAME)_020.effect
CC = gcc
CFLAGS = -fstrength-reduce -Wall -resident -noixemul -msmall-code \
-I$(INCDIR) -g -nostartfiles -O2 -fomit-frame-pointer
LDFLAGS =
all : $(EXE)
$(EXE) : $(OBJS)
$(CC) $(CFLAGS) $(LIBINIT) $(OBJS) -o $(EXE) $(LDFLAGS)
clean:
Delete \#?.lnk \#?~ 020/\#?.o 000/\#?.o \#?.o
clobber: clean
Delete $(EXE) $(EXE020)
install : $(EXE)
strip $(EXE)
cp $(EXE) $(MAINDIR)/$(INSTDIR)
installdbg : $(EXE)
cp $(EXE) $(MAINDIR)/$(INSTDIR)