mirror of
https://github.com/jeremysrand/abCalc.git
synced 2025-01-01 08:30:52 +00:00
23 lines
342 B
Makefile
23 lines
342 B
Makefile
NAME=abCalc
|
|
|
|
all: $(NAME)
|
|
|
|
.INCLUDE: "Make.engine"
|
|
|
|
$(NAME): fixtype $(OBJS)
|
|
occ -o $(NAME) $(OBJS)
|
|
|
|
clean:
|
|
cp -p rm -f $(NAME) $(OBJS) $(NAME).r $(NAME).root
|
|
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
|
|
|
|
%.o: %.c
|
|
occ -c $<
|