# # Makefile for example programs provided with hp48xgcc. # Copyright (C) 1994 Alex T Ramos. ALL RIGHTS RESERVED. NO WARRANTY. # CC = xgcc CFLAGS = -O2 PROGS = fortytwo addr_of len reverse hello all: $(PROGS) clean: rm -f *.o *.s *.c.* *.bak *~ $(PROGS) a.out $(CC) -O2 -S reverse.c .c.s: $(CC) $(CFLAGS) -S -o $@ $^ lcdtest: lcdtest.c $(CC) $(CFLAGS) -o $@ $^ lib: clean $(MAKE) -C ../lib install hello: hello.o