2013-07-24 08:45:33 -05:00
|
|
|
NAME=abCalc
|
|
|
|
|
|
|
|
all: $(NAME)
|
|
|
|
|
2013-07-25 09:42:02 -05:00
|
|
|
.INCLUDE: "Make.engine"
|
2013-07-24 09:30:44 -05:00
|
|
|
|
2013-07-25 10:31:53 -05:00
|
|
|
$(NAME): fixtype $(OBJS)
|
2013-07-25 09:42:02 -05:00
|
|
|
occ -o $(NAME) $(OBJS)
|
2013-07-24 08:45:33 -05:00
|
|
|
|
|
|
|
clean:
|
2013-07-25 09:42:02 -05:00
|
|
|
cp -p rm -f $(NAME) $(OBJS) $(NAME).r $(NAME).root
|
2013-07-25 10:21:21 -05:00
|
|
|
cp -p rm -f *.root
|
|
|
|
cp -p rm -f expr/*.root
|
|
|
|
cp -p rm -f ops/*.root
|
|
|
|
|
|
|
|
fixtype:
|
|
|
|
chtyp -l CC *.c *.h
|
|
|
|
chtyp -l CC expr/*.c expr/*.h
|
|
|
|
chtyp -l CC ops/*.c ops/*.h
|
2013-07-25 09:42:02 -05:00
|
|
|
|
|
|
|
%.o: %.c
|
2013-07-25 10:31:53 -05:00
|
|
|
occ -c $<
|