Diff for libplaton/platon/misc/Attic/Makefile between version 1.8 and 1.9
| version 1.8, 2002/07/16 03:25:43 |
version 1.9, 2002/07/16 22:26:16 |
|
|
| |
|
| NAME = platon-utils |
NAME = platon-utils |
| VERSION = 0.1 |
VERSION = 0.1 |
| OBJECTS = fileplus.o kbhit.o luhnchk.o week.o bogomips.o x86cpuid.o |
OBJECTS = fileplus.o kbhit.o luhnchk.o week.o bogomips.o x86cpuid.o rdtsc.o |
| |
|
| LIBSTATIC = lib$(NAME).a |
LIBSTATIC = lib$(NAME).a |
| LIBDYNAMIC = lib$(NAME).so |
LIBDYNAMIC = lib$(NAME).so |
|
|
| rm -f $(DESTLIB)/$(LIBDYNAMICV) |
rm -f $(DESTLIB)/$(LIBDYNAMICV) |
| rm -rf $(DESTINCLUDE)/$(NAME) |
rm -rf $(DESTINCLUDE)/$(NAME) |
| |
|
| clean: |
clean: remove_objects |
| rm -f *.o core rdtsc $(LIBSTATIC) $(LIBDYNAMICV) |
rm -f $(LIBSTATIC) $(LIBDYNAMICV) |
| |
|
| remove_objects: |
remove_objects: |
| rm -f *.o core rdtsc |
rm -f *.o core |
| |
rm -f fileplus |
| test: |
rm -f kbhit |
| $(CC) $(CFLAGS) -DTEST -o rdtsc rdtsc.c |
rm -f luhnchk |
| |
rm -f week |
| |
rm -f bogomips |
| |
rm -f x86cpuid |
| |
rm -f rdtsc |
| |
|
| |
test: \ |
| |
test-fileplus \ |
| |
test-kbhit \ |
| |
test-luhnchk \ |
| |
test-week \ |
| |
test-bogomips \ |
| |
test-x86cpuid \ |
| |
test-rdtsc |
| |
|
| |
test-fileplus: |
| |
$(CC) $(CFLAGS) -DSELF -o fileplus fileplus.c |
| |
test-kbhit: |
| |
$(CC) $(CFLAGS) -DSELF -o kbhit kbhit.c |
| |
test-luhnchk: |
| |
$(CC) $(CFLAGS) -DSELF -o luhnchk luhnchk.c |
| |
test-week: |
| |
$(CC) $(CFLAGS) -DSELF -o week week.c |
| |
test-bogomips: |
| |
$(CC) $(CFLAGS) -DSELF -o bogomips bogomips.c |
| |
test-x86cpuid: |
| |
$(CC) $(CFLAGS) -DSELF -o x86cpuid x86cpuid.c |
| |
test-rdtsc: |
| |
$(CC) $(CFLAGS) -DSELF -o rdtsc rdtsc.c |
| |
|
Platon Group <platon@platon.org> http://platon.org/
|
|