#------------------------------------------------------------------------------------- # # use 'vmake' (not 'make'!) to run this script! # #------------------------------------------------------------------------------------- # set this to where Cybiko SDK actually resides #CYBIKO_SDK = C:\Program Files\Cybiko\Cybiko SDK # you may also want to change this... NAME = Fox_Hunting OBJ = src/Foxhunt.o RES = res/0.help res/bests.dat res/disable.mus res/filer.list res/fox.mus \ res/fox_hunting.pic res/intro.pic res/root.ico res/root.inf res/root.spl \ res/success.mus res/title.mus PP = vcpp CC = vcc1 AS = vas LN = vlink LD = filer RM = vrm .SUFFIXES : .c all : $(NAME).app # You must add to archive "$(CYBIKO_SDK)"/lib/cybiko/main.e, # your bytecode and application resources # (*.pic better place first). # *.spl - splash screen. # *.help - help file. # *.inf - information for programm manager. # For more details see filer.exe manual. $(NAME).app : tmp/bytecode.bin $(RES) @echo building app archive... @$(LD) a $@ @res/filer.list tmp/bytecode.bin "$(CYBIKO_SDK)"/lib/cybiko/main.e tmp/bytecode.bin : $(OBJ) @echo linking ... @$(LN) -o $@ src/*.o .c.o : @echo compiling $<... @$(PP) -I"$(CYBIKO_SDK)"/inc/cybiko $< | $(CC) | $(AS) -O -o $@ src/Foxhunt.o : src/Foxhunt.h clean : @echo cleaning... @$(RM) -f tmp/*.* src/*.o $(NAME).app new : clean all |
1. |
Make sure that Cybiko SDK 'bin' directory is listed
in MSDEV executable search path (Tools -> Options ->
Directories -> Executable files)
|
2. |
Create new project. Go to File -> New... -> Projects,
select 'Makefile' (important!) and fill in project name and
location, then click 'OK'. For instance, name: 'highway_hitman',
location: 'C:\Program Files\Cybiko\SDK\demos\cybiko\highway_hitman'
|
3. |
Fill in project options. Specify 'vmake' in the 'Command line'
field, name of your application in the 'Output' field
('highway_hitman.app', for example) and rebuild target
in the 'Rebuild All Switch' field (that should be 'new'
for any makefile supplied with the SDK)
|
4. |
Repeat previous step for the 'Release' options. You may
want to use special targets in your makefile to build release
version of your project.
|
Copyright © 2001 Cybiko, Inc. All rights reserved. | More information... |