2013-07-24 13:45:33 +00:00
|
|
|
NAME=abCalc
|
|
|
|
|
|
|
|
all: $(NAME)
|
|
|
|
|
2013-07-25 14:42:02 +00:00
|
|
|
.INCLUDE: "Make.engine"
|
2013-07-24 14:30:44 +00:00
|
|
|
|
2013-07-24 13:45:33 +00:00
|
|
|
$(NAME): $(OBJS)
|
2013-07-25 14:42:02 +00:00
|
|
|
occ -o $(NAME) $(OBJS)
|
2013-07-24 13:45:33 +00:00
|
|
|
|
|
|
|
clean:
|
2013-07-25 14:42:02 +00:00
|
|
|
cp -p rm -f $(NAME) $(OBJS) $(NAME).r $(NAME).root
|
2013-07-25 15:21:21 +00: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 14:42:02 +00:00
|
|
|
|
|
|
|
%.o: %.c
|
2013-07-25 15:21:21 +00:00
|
|
|
occ $(CFLAGS) -c $<
|