This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Makefile for force_4k example | |
# | |
PROGS = force_4k | |
CFLAGS = -g -Wall -Werror -std=gnu99 | |
all: $(PROGS) | |
force_4k: force_4k.o | |
$(CC) -o $@ $(CFLAGS) $^ $(LIBS) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*.o | |
tester | |
elmo.so |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// range -- generator similar to python's range() | |
// | |
// range() will generate 0..MAX_SAFE_INTEGER | |
// range(end) will generate 0..(end-1) | |
// range(start, end) will generate start..(end-1) | |
// range(start, end, step) will step by step instead of 1 | |
// start can be larger than end if step is negative: | |
// for example range(10, 2, -1) | |
// |
OlderNewer