Mercurial > pub > dyncall > dyncall
comparison test/callback_suite/Nmakefile @ 487:d8f0e6cecdab
- simplified test/callback_suite
author | Tassilo Philipp |
---|---|
date | Fri, 18 Mar 2022 09:47:18 +0100 |
parents | d18f1a65e34f |
children | 049e04af13c8 |
comparison
equal
deleted
inserted
replaced
486:d160046da104 | 487:d8f0e6cecdab |
---|---|
1 #////////////////////////////////////////////////////////////////////////////// | 1 #////////////////////////////////////////////////////////////////////////////// |
2 # | 2 # |
3 # Copyright (c) 2007,2009 Daniel Adler <dadler@uni-goettingen.de>, | 3 # Copyright (c) 2007-2022 Daniel Adler <dadler@uni-goettingen.de>, |
4 # Tassilo Philipp <tphilipp@potion-studios.com> | 4 # Tassilo Philipp <tphilipp@potion-studios.com> |
5 # | 5 # |
6 # Permission to use, copy, modify, and distribute this software for any | 6 # Permission to use, copy, modify, and distribute this software for any |
7 # purpose with or without fee is hereby granted, provided that the above | 7 # purpose with or without fee is hereby granted, provided that the above |
8 # copyright notice and this permission notice appear in all copies. | 8 # copyright notice and this permission notice appear in all copies. |
32 | 32 |
33 !IF "$(BUILD_OS)" == "windows" | 33 !IF "$(BUILD_OS)" == "windows" |
34 | 34 |
35 TARGETS = callback_suite.exe | 35 TARGETS = callback_suite.exe |
36 | 36 |
37 OBJS = env.obj handler.obj sigstrings.obj invokers.obj do_test.obj main.obj print.obj signature_utils.obj | 37 OBJS = env.obj do_test.obj main.obj |
38 $(TARGETS): $(OBJS) | 38 $(TARGETS): $(OBJS) |
39 echo Linking $@ ... | 39 echo Linking $@ ... |
40 $(LD) /OUT:"$@" $(LDFLAGS) $(OBJS) $(TOP)\dyncall\dyncall_s.lib $(TOP)\dyncallback\dyncallback_s.lib | 40 $(LD) /OUT:"$@" $(LDFLAGS) $(OBJS) $(TOP)\dyncall\dyncall_s.lib $(TOP)\dyncallback\dyncallback_s.lib |
41 | 41 |
42 | 42 |
43 !ELSE IF "$(BUILD_OS)" == "nds" | 43 !ELSE IF "$(BUILD_OS)" == "nds" |
44 | 44 |
45 TARGETS = callback_suite.nds | 45 TARGETS = callback_suite.nds |
46 OBJS = env.o handler.o sigstrings.o invokers.o do_test.o main.o print.o signature_utils.o | 46 OBJS = env.o do_test.o main.o |
47 | 47 |
48 $(TARGETS): $(OBJS) | 48 $(TARGETS): $(OBJS) |
49 echo Linking $@ ... | 49 echo Linking $@ ... |
50 $(LD) $(LDFLAGS) $(OBJS) $(DEVKITPRO_PATH)\libnds\lib\libnds9.a $(TOP)/dyncall/libdyncall_s.a $(TOP)\dyncallback\libdyncallback_s.a -o "$(@B).elf" | 50 $(LD) $(LDFLAGS) $(OBJS) $(DEVKITPRO_PATH)\libnds\lib\libnds9.a $(TOP)/dyncall/libdyncall_s.a $(TOP)\dyncallback\libdyncallback_s.a -o "$(@B).elf" |
51 $(OCP) -O binary "$(@B).elf" "$(@B).arm9" | 51 $(OCP) -O binary "$(@B).elf" "$(@B).arm9" |